package org.xiaochangbai.idea.plugin.form;

import com.intellij.openapi.actionSystem.AnAction;
import com.intellij.openapi.actionSystem.AnActionEvent;
import org.jetbrains.annotations.NotNull;

/**
 * @author xiaochangbai
 * @since 2022/7/1 10:30
 */
public class FromAction extends AnAction {
    
    @Override
    public void actionPerformed(@NotNull AnActionEvent e) {
        FormTestDialog formTestDialog = new FormTestDialog(e.getProject());
        //是否允许用户通过拖拽的方式扩大或缩小你的表单框，我这里定义为true，表示允许
        formTestDialog.setResizable(true);
        formTestDialog.show();
    }
}
